﻿namespace PersApp
{
    class Role
    {
        private byte mId;
        private string mName;

        public Role(byte id, string name)
        {
            mId = id;
            mName = name;
        }

        public byte getId()
        {
            return mId;
        }

        public string getName()
        {
            return mName;
        }

        public override string ToString()
        {
            return mName;
        }
    }
}
